package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/19
 */

@Data
@Entity
@Table(name = "position")
public class PositionEntity {

    @ApiModelProperty(value = "风量情况id")
    @Column(name = "position_id")
    @TableId(value = "position_id")
    @Id
    private Long id;

    @Column(name = "position_name")
    @ApiModelProperty(value = "安装位置名称")
    private String positionName;

    @Column(name = "position_type")
    @ApiModelProperty(value = "安装类型")
    private String positionType;

    @Column(name = "position_x")
    @ApiModelProperty(value = "安装坐标")
    private String positionX;

    @Column(name = "position_y")
    @ApiModelProperty(value = "安装坐标")
    private String positionY;

    @Column(name = "position_z")
    @ApiModelProperty(value = "安装坐标")
    private String positionZ;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "belong_channel_ids")
    @ApiModelProperty(value = "所属通道")
    private String belongChannelIds;

    @Column(name = "sectional_area")
    @ApiModelProperty(value = "截面积")
    private BigDecimal sectionalArea;

    @Column(name = "perimeter")
    @ApiModelProperty(value = "巷道周长")
    private BigDecimal perimeter;

    @Column(name = "section_type")
    @ApiModelProperty(value = "断面类型，0-矩形、1-半圆拱、2-三心拱、3-圆形、4-梯形")
    private Integer sectionType;

    @Column(name = "width")
    @ApiModelProperty(value = "宽度(如果是圆形，可以不填)")
    private BigDecimal width;

    @Column(name = "height")
    @ApiModelProperty(value = "高度（直径）")
    private BigDecimal height;
}
